package com.mew.chess.core.game.lh.game.message;

import com.mew.chess.core.game.lh.game.core.LhGame;
import com.zebra.common.ZebraBaseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


/**
 * 发牌信息
 */
@Data
@ToString
@NoArgsConstructor
public class LhDealCardMessage extends ZebraBaseMessage<LhDealCardMessage> {

    private int rollerId;
    private int controlRoom; //0 not 1  5

    public LhGame lhGame = new LhGame();

    @Override
    public void write(ByteBuf byteBuf) {

        writeMsg(byteBuf);
    }

    public void writeMsg(ByteBuf byteBuf) {
        lhGame.write(byteBuf);
    }

    @Override
    public LhDealCardMessage read(ByteBuf byteBuf) {
        return null;
    }

}
